{eval
function tpl_longdu_threadpic_postpic() {
global $_G,$swfconfig,$allowpostimg,$postinfo;
$langp=lang('plugin/longdu_threadpic','hooks');
$jslangp=lang('plugin/longdu_threadpic','js_forum');
}
<!--{block return}-->
<script type="text/javascript">
var langp={$jslangp}
var attachConfig = {
	'attachnum' : parseInt('20'),
	'list' : <!--{$_G['rdata']}-->,
	'postData' : {"id":"longdu_threadpic:p", "action":"plupload", "uid":"{$_G['uid']}", "fid":"{$_G['fid']}", "hash":"$swfconfig[hash]"},
},
charset = 'utf-8';
</script>
<link rel="stylesheet" type="text/css" href="source/plugin/longdu_threadpic/style/style.css?ZHu" />
<script type="text/javascript" src="source/plugin/longdu_threadpic/style/jquery.js"></script>
<script type="text/javascript" src="source/plugin/longdu_threadpic/style/browserplus-min.js"></script>
<script type="text/javascript" src="source/plugin/longdu_threadpic/style/plupload.js"></script>
<script type="text/javascript" src="source/plugin/longdu_threadpic/style/plupload.gears.js"></script>
<script type="text/javascript" src="source/plugin/longdu_threadpic/style/plupload.silverlight.js"></script>
<script type="text/javascript" src="source/plugin/longdu_threadpic/style/plupload.flash.js"></script>
<script type="text/javascript" src="source/plugin/longdu_threadpic/style/plupload.browserplus.js"></script>
<script type="text/javascript" src="source/plugin/longdu_threadpic/style/plupload.html4.js"></script>
<script type="text/javascript" src="source/plugin/longdu_threadpic/style/plupload.html5.js"></script>
<script type="text/javascript" src="source/plugin/longdu_threadpic/style/plupload.forum.js?v=20131114a"></script>
<script type="text/javascript" src="source/plugin/longdu_threadpic/style/dragsort-min.js"></script>
<div class="pic_post" style="border:none;">
	
	<div class="pp_part">
		<label for="textarea_pic" class="atc_th">$langp[0]</label>
		<div id="local">
		<textarea id="textarea_pic" name="atc_content" class="B_textarea" tabindex="200" title="$langp[1]">{$postinfo[message]}</textarea>
		</div>
	</div>
	<div class="X_upload" id="ifiles">
		<div class="X_file">
			<div id="X_qlist" class="cc"></div>
		</div>
		<div id="X_upBtn" class="cc">
			<span class="X_uploader_Add"><a id="pickfiles" href="javascript:;"></a></span>
			<span><input type="submit"  value="{$langp[2]}" class="x_btn1" name="Submit"></span>
			<span class="X_uploader_tip">{$langp[3]}</span>
			<span class="X_uploader_num">{$langp[4]}</span>
		</div>
	</div>
	<div class="X_postBtn cc">	</div>
</div>
<div class="cl"></div>
<script type="text/javascript">
jQuery(document).ready(function(){
	jQuery("#e_body").removeClass();
	//jQuery(".pnpost").html(jQuery("#nodata").html());
	//jQuery("div[id='e_body']").css("display", "none");
	Tibooup("modify");
});
function newEditor(){
	return false;
}
</script>
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}
}
{eval
function tpl_longdu_threadpic_viewpic($rdata) {
global $_G,$thread,$message;
$langp=lang('plugin/longdu_threadpic','js_view');
$hlangp=lang('plugin/longdu_threadpic','hooks');
}
<!--{block return}-->
<script type="text/javascript">
var langp={$langp};
</script>
<script language="javascript" src="source/plugin/longdu_threadpic/style/ddsliderplayer.js"></script>
<script type="text/javascript" src="source/plugin/longdu_threadpic/style/highslide.js"></script>
<script type="text/javascript" src="source/plugin/longdu_threadpic/style/lazyload.js"></script>
<link rel="stylesheet" type="text/css" href="source/plugin/longdu_threadpic/style/highslide.css" />
<link rel="stylesheet" type="text/css" href="source/plugin/longdu_threadpic/style/style1.css?1.2.5" />
<div id="read_Att_tpc">
	<div id="read_tpc" class="editor_content">
	{$thread['message']}
	</div>
	<!--{loop $rdata $val}-->
	<div id="att_{$val['aid']}" class="read_Att_pic">
		 <a onclick="return hs.expand(this)" style="cursor;" href="{$val['bigimg']}" class="   "><img title="{$hlangp[5]}" {$val['widthcode']} src="{$val['bigimg']}" class="highslide"></a>
		 <div class="highslide-caption">
			{$val['attdesc']}
		</div>
		<div class="read_Att_pic_desc cc">
			<div class="read_Att_pic_mod">
				<p>{$val['attdesc']}</p>
				<s><b class="bd1"></b><b class="bd2"></b><b class="bd3"></b><b class="bd4"></b><b class="bd5"></b><b class="bd6"></b><b class="bd7"></b><b class="bd8"></b></s>
			</div>
		</div>
	</div>
	<!--{/loop}-->
</div>
<script type="text/javascript">
hs.graphicsDir = 'source/plugin/longdu_threadpic/style/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.outlineType = 'rounded-white';
hs.fadeInOut = true;
hs.numberPosition = 'caption';
hs.dimmingOpacity = 0.75;
// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
//slideshowGroup: 'group1',
interval: 5000,
repeat: false,
useControls: true,
fixedControls: 'fit',
overlayOptions: {
opacity: .75,
position: 'bottom center',
hideOnMouseOut: true
}
});
function showReplyContent(obj, pid){var tag = jQuery(obj).attr("tag");jQuery("#quote_"+pid+"_"+tag).slideToggle("slow");tag = tag>0?0:1;jQuery("#quote_"+pid+"_"+tag).slideToggle("slow");jQuery("#quote_"+pid+"_2").slideToggle("slow");jQuery(obj).attr("tag", tag);jQuery(obj).html(tag>0?"{$langp[6]}":"{$langp[7]}");}
</script>
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}
}